Skip to main content

FlowDepartment

Represents a workflow step for managing department-related operations.

Properties

NameDescription
IdGets or sets the ID of the department.
KeyA unique identifier for the workflow step.
WorkflowCodeInstanceThe workflow code instance associated with the flow object.
CachedDMObjectsThe cached document management objects related to the flow object.
TypeCodeThe type code associated with the flow object.
ValueTypeGets or sets the type of the department value.
DescriptionGets or sets the description of the department.
NameName for the workflow step.
ValueOptionIsChangedIndicates whether the value option has been changed.
CaptionThe caption dictionary representing localized captions for the flow object.
CodeGets or sets the code of the department.

Constructors

NameDescription
FlowDepartment(name, workflowData, workflowCodeInstance)Constructor for the FlowDepartment class. Initializes a new instance of the FlowDepartment class.
FlowDepartment(name, workflowData, workflowCodeInstance)Initializes a new instance of the FlowDepartment class.

Methods

NameDescription
SetFromOther(sourceDepartment)Sets the department from another department object.
SetFromVariable(sourceVariable)Sets the department based on a variable.
SetFromPosition(sourcePosition)Sets the department based on a position.
Initialize()Initializes the FlowDepartment instance.
SetConstantDepartment(department)Sets the department as a constant using a department object.
SetConstantDepartment(id)Sets the department as a constant using its ID.
SetFromFlowInitiator()Sets the department based on the flow initiator.
SetManagerDepartment(sourceDepartment)Sets the manager department based on a source department.
ToLiquid()Converts the current object to a liquid-compatible representation.

Events

NameDescription
OnBeforeExecution(sender, args)Occurs before the execution of the workflow step.
OnAfterExecution(sender, args)Occurs after the execution of the workflow step.

Generic Types

NameDescription
TPropertiesGeneric type of properties.